# !/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
===========================
@Time : 2022/7/3 0003 1:46
@Author : 测试开发工程师
@File : __init__.py.py
@Software: PyCharm
============================
"""

import re
strings = '<form method="post" action="/cgi-bin/test_report.pl?build=AG_10_0_4_10_gaojs_623&amp;module=http&amp;result=fail" ' \
          'enctype="multipart/form-data"><input type="hidden" name="result2" value="fail"  /><input type="hidden" name="build2" ' \
          'value="AG_10_0_4_10_gaojs_623"  /><input type="hidden" name="bugs2" value=""  /><br><table align="center" bgcolor="#FDF0DD" ' \
          'border="0" cellpadding="5" cellspacing="0" width="1024px" /><tr /><th align="center" ' \
          'style="BORDER:#AAAAAA 1px solid">AG_10_0_4_10_gaojs_623___http</th></tr></table><table align="center" bgcolor="#FDF0DD" ' \
          'border="0" cellpadding="5" cellspacing="0" width="1024px" /><tr /><th style="BORDER:#AAAAAA 1px solid" width="200px">' \
          'Case_ID</th><th style="BORDER:#AAAAAA 1px solid" width="100px">Case_Script</th><th style="BORDER:#AAAAAA 1px solid" ' \
          'width="100px">Result</th><th style="BORDER:#AAAAAA 1px solid" width="100px">Time(sec)</th><th style="BORDER:#AAAAAA 1px solid">' \
          'Comment</th></tr><tr /><td align="left" style="BORDER:#AAAAAA 1px solid">< department href=" ">5201011702</ department></td><td align="center" ' \
          'style="BORDER:#AAAAAA 1px solid">< department href="http://[192::1:192]/smoke_test/http//5201011702.py">Script</ department></td><td align="center"' \
          ' style="BORDER:#AAAAAA 1px solid">fail</td><td align="center" style="BORDER:#AAAAAA 1px solid">100</td><td align="left" ' \
          'style="BORDER:#AAAAAA 1px solid"><input type="text" name="comment0" value="http" size="60" maxlength="200" /></td></tr><tr />' \
          '<td align="left" style="BORDER:#AAAAAA 1px solid">< department href="http://[192::101:192]/' \
          'report/AG_10_0_4_10_gaojs_623/aaa/http/5201012102/">5201012102</ department></td><td align="center" ' \
          'style="BORDER:#AAAAAA 1px solid">< department href="http://[192::1:192]/smoke_test/http//5201012102.py">Script</ department>' \
          '</td><td align="center" style="BORDER:#AAAAAA 1px solid">fail</td><td align="center" style="BORDER:#AAAAAA 1px solid">' \
          '100</td><td align="left" style="BORDER:#AAAAAA 1px solid"><input type="text" name="comment1" value="http" size="60" ' \
          'maxlength="200" /></td></tr><tr /><td alig'

print(re.findall(r'[/|>](\d+)[/"|<]',strings))